<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>待办事项</title>
    <link rel="stylesheet" href="css/style.css">
</head>
<body>
<div class="daiban">
    <div id="myDIV" class="header">
        <h2 style="margin:5px">To-do items</h2>
        <input type="text" id="myInput" placeholder="Title...">
        <span onclick="newElement()" class="addBtn">Add</span>
    </div>

    <ul id="myUL">
        <li>Go jogging</li>
        <li class="checked">To have lunch</li>
        <li>Read a book</li>
        <li>Do the homewor</li>
        <li>Wash clothes</li>
        <li>sleep</li>
    </ul>
</div>



<script src="js/script.js"></script>
</body>
</html>